var ioc = {
	/*------------------------------------------------------------------*/
	// Data source
	dataSource : {
		type : "com.jolbox.bonecp.BoneCPDataSource",
		events : {
			depose : 'close'
		},
		fields : {
			driverClass : 'org.h2.Driver',
			jdbcUrl : 'jdbc:h2:quick3;AUTO_RECONNECT=TRUE;CACHE_SIZE=65536;LOCK_TIMEOUT=10000',
			username : 'sa',
			password : '',
			minConnectionsPerPartition : 3,
			maxConnectionsPerPartition : 20
		}
	},
	/*------------------------------------------------------------------*/
	// Define NutDao
	dao : {
		type : "org.nutz.dao.impl.NutDao",
		fields : {
			dataSource : {
				refer : 'dataSource'
			}
		}
	},
	/*------------------------------------------------------------------*/
	// Define userService
	userService : {
		type : "cn.feichanghao.nutz.quickstart.service.UserService",
		fields : {
			dao : {
				refer : 'dao'
			}
		}
	},
	
	/*------------------------------------------------------------------*/
	// Define menuService
	menuService : {
		type : "cn.feichanghao.nutz.quickstart.service.MenuService",
		fields : {
			dao : {
				refer : 'dao'
			}
		}
	}
/*------------------------------------------------------------------*/
};